package com.ccc.demoboot.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ccc.demoboot.pojo.Code;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @Author wz
 * @Date 2024/6/12 10:47
 * @PackageName:com.ccc.demoboot.dao
 * @ClassName: CodeMapper
*/
public interface CodeMapper extends BaseMapper<Code> {
    List<Code> listmy();



    List<Code> warecategory();

    List<Code> codematerialid(@Param("code") Code code);

    Code getCode(@Param("codematerial") String codematerial);


    int selectOne(@Param("codematerial") String codematerial);

    List<Code> selectTj(String materialname);
}